//
//  MDHUserRegModel.swift
//  MDHPT
//
//  Created by 高得华 on 2019/5/14.
//  Copyright © 2019年 高得华. All rights reserved.
//

import UIKit

/* - === 验证码登录的信息
 {
 "code":2000,
 "data":{
 "token":"bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwczpcL1wvYXBpLnlvb3Rhb2tlLmNvbVwvYXBpXC92MVwvbG9naW5fY29kZSIsImlhdCI6MTU2MjU3OTE5NCwiZXhwIjoxNTYyNTgyNzk0LCJuYmYiOjE1NjI1NzkxOTQsImp0aSI6Imw4QU8xQnpjZTZXVEpJMmsiLCJzdWIiOjYsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.NRAQ7wN5E7ka3VH891svQ5PoAaiy2412RSdvBS9m6tY",
 "expires_in":3600,
 "user_info":{
 "account":7481578,
 "nickname":null,
 "name":"13678890524",
 "avatar":null
 }
 },
 "meta":{
 "total":0,
 "perPage":8,
 "currentPage":0
 },
 "msg":"操作成功"
 }
 */

open class MDHUserRegModel: MDHPTModel {
    ///token
    @objc public var token = ""
    ///expires_in
    @objc public var expires_in: String = ""
    ///返回数据 user_info
    @objc public var user_info = MDHUserModel()
}

///用户信息 在写swift的KVO的过程中，被监听的属性必须用“dynamic”修饰，否则监听的代理方法不走。
open class MDHUserModel: MDHPTModel {
    @objc public override init() {
        super.init()
    }
    ///用户ID~! ->Bixu 1
    @objc public dynamic var id = 0
    ///用户ID~! ->Bixu 1
    @objc public dynamic var user_id = ""
    ///phone
    @objc public dynamic var handsetId = ""
    ///passWord
    @objc public dynamic var passWord = ""
    ///bankPhone
    @objc public dynamic var bankPhone = ""
    ///identity_just
    @objc public dynamic var identity_just = ""
    ///portrait 用户头像
    @objc public dynamic var portrait = ""
    ///tax
    @objc public dynamic var tax = ""
    ///superior_id
    @objc public dynamic var superior_id = ""
    ///invite 邀请码
    @objc public dynamic var invite = ""
    ///name !
    @objc public dynamic var name = ""
    ///yanzhengma !
    @objc public dynamic var yanzhengma = ""
    ///proportion !
    @objc public dynamic var proportion = ""
    ///grade !
    @objc public dynamic var grade = ""
    ///superior_name
    @objc public dynamic var superior_name = ""
    ///identity_back
    @objc public dynamic var identity_back = ""
    ///identity
    @objc public dynamic var identity = ""
    ///bankName bankName 支行姓名
    @objc public dynamic var bankName = ""
    ///bankid 银行卡号
    @objc public dynamic var bankid = ""
    ///bank bank 银行名称
    @objc public dynamic var bank = ""
    ///bankAddress 所在地区
    @objc public dynamic var bankAddress = ""
    ///integral
    @objc public dynamic var integral = ""
}


